<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="vue.js"></script>
</head>
<body>
    <!-- v-bind: 对属性进行绑定 -->
    <!-- 缩写是英文 ： -->
    <div id="app">
    <img v-bind:src="s" alt="">
    <p :title="sm"> 我是p标签</p>
</div>
    <script>
let vm =new Vue({
    el:"#app",
    data:{
        s:"https://tse1-mm.cn.bing.net/th/id/OIP-C.zIfI7kZsXmDSB05XSaPdlQHaDt?w=306&h=174&c=7&r=0&o=5&pid=1.7",
        sm:"nihao1"
    }
})
    </script>
</body>
</html>